package com.nhn.ssi.action;

import com.nhn.ssi.bean.UserBean;
import com.nhn.ssi.bo.TestBo;
import com.opensymphony.xwork2.ActionSupport;

public class ModifyAction extends ActionSupport {
	private static final long serialVersionUID = 1L;

	TestBo testBo  ;

	public TestBo getTestBo() {
		return testBo;
	}

	public void setTestBo(TestBo testBo) {
		this.testBo = testBo;
	}
	UserBean userBean;
	String id;
	java.util.List<Object> list;

	public String execute() throws Exception {
		// 调用bo业务逻辑
		userBean = testBo.getUserById(id);
		return "success";
	}

	public java.util.List<Object> getList() {
		return list;
	}

	public void setList(java.util.List<Object> list) {
		this.list = list;
	}

	public UserBean getUserBean() {
		return userBean;
	}

	public void setUserBean(UserBean userBean) {
		this.userBean = userBean;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

}
